// components/date/index.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    date: String,
    start: Object,
  },

  /**
   * 组件的初始数据
   */
  data: {
   
  },

  /**
   * 组件的方法列表
   */
  methods: {
    bindRegionChange1:function(e){
      //console.log(e)
      this.triggerEvent('dateStart', {
        date: e.detail
      }, {})
      //console.log('aaa')
     },
    bindRegionChange2: function (e) {
      //console.log(e)
      this.triggerEvent('dateEnd', {
        date: e.detail
      }, {})
    }
  }
})
